using UnityEngine;

/// <summary>
/// 敌人巡逻点组件
/// 存储巡逻路径点和初始位置
/// </summary>
public class EnemyPatrolPoints : MonoBehaviour
{
    [Header("巡逻配置")]
    [Tooltip("巡逻路径点数组")]
    public Transform[] points;
    [Tooltip("初始位置")]
    public Vector3 originalPosition;

    private void Awake()
    {
        // 保存初始位置
        originalPosition = transform.position;
    }
}